import { get, post } from "../asiox/index";

/**
 * 登录
 */
export const getA = (data) => get("/a", data);

/**
 * 注册
 */
export const registere = (data) => post("/customer/register", data);

/**
 * 发送短信验证码
 */
export const sendSms = (data) => get("/customer/sendSms", data);

/**
 * 获取用户信息
 */
export const getUser = (data) => get("/customer/getCustomerInfo", data);

/**
 * 获取token
 */
export const getToken = (data) => get("/customer/getToken", data);
